//
// Created by wkm on 2023-12-06.
//

#include "init_packet.h"

void init_packet::prc_init_packet() {
    packet temp;

    if (send) {
        temp.packet_id = XMIT_ID;
        temp.packet_states = xmit;
    } else {
        temp.packet_id = DONE_ID;
        temp.packet_states = done;
    }
    tsq = temp;
}
